<?php
/**
 * JsCookMenu Portlet - Common
 *
 * @author Steen Rabol <steen.rabol@gmail.com>
 * @link http://www.pradoportal.dk/
 * @copyright Copyright &copy; 2006,2007,2008 Steen Rabol
 * @license http://www.pradoportal.dk
 * @version $Id: JsCookMenuPortletCommon.php 313 2008-11-20 17:04:18Z steen.rabol@gmail.com $
 * @package Pradoportal.Portlets.JsCookMenuPortlet.Common
 *
 */

/**
 * JsCookMenu Portlet - Common class
 *
 * This is the common part of the portlet
 * @package Pradoportal.Portlets.JsCookMenuPortlet.Common
 */


Prado::using('Application.Common.PortalPortletCommon');
class JsCookMenuPortletCommon extends PortalPortletCommon
{
	public static function getPortletName()
	{
		return Prado::localize('Js dropdown menu portlet');
	}

	public static function GetCssClasses()
	{
		return array(".jscookmenuportlet" => "");
	}

	public static function getCustomProperties()
	{
		$prop	= array();
		$prop[] = array("type" => "colorpick", "length" => 8, "name" => "maintextcolor", "title" => Prado::localize('Text color of menubar'));
		$prop[] = array("type" => "colorpick", "length" => 8, "name" => "mainbackgroundcolor", "title" => Prado::localize('Background color of menubar'));

		$prop[] = array("type" => "colorpick", "length" => 8, "name" => "subtextcolor", "title" => Prado::localize('Text color of menu item'));
		$prop[] = array("type" => "colorpick", "length" => 8, "name" => "subbackgroundcolor", "title" => Prado::localize('Background color of menu items'));

		$prop[] = array("type" => "colorpick", "length" => 8, "name" => "overtextcolor", "title" => Prado::localize('Text color of menu item when mouse is over'));
		$prop[] = array("type" => "colorpick", "length" => 8, "name" => "overbackgroundcolor", "title" => Prado::localize('Background color of menu items when mouse is over'));

		return $prop;
	}

}

?>